<html>
<body>
<script type="text/javascript" charset="utf-8">
  window.history.pushState(window.history.state, "test page", "foo.html")
  require('electron').ipcRenderer.sendToHost('history', window.history.length);
</script>
</body>
</html>
